package com.hsnn.medstgmini.sys.information.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="sys_info_attachment")
public class SysInfoAttachment implements Serializable {

	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="sys_info_attach_id",length=36)
	private String sysInfoAttachId;// 消息附件ID 

	@Column(name="sys_info_id",length=36)
	private String sysInfoId;// 消息ID
	
	@Column(name="url",length=1024)
	private String url;// 附件URL地址 
	
	@Column(name="file_name",length=64)
	private String fileName;//附件名称
	
	@Column(name="download_count")
	private Integer downloadCount;// 下载次数
	
	@Column(name="upd_datetime")
	private Date updDatetime;// 更新时间 
	
	@Column(name="upd_user",length=36)
	private String updUser;// 更新人

	public String getSysInfoAttachId() {
		return sysInfoAttachId;
	}

	public void setSysInfoAttachId(String sysInfoAttachId) {
		this.sysInfoAttachId = sysInfoAttachId;
	}

	public String getSysInfoId() {
		return sysInfoId;
	}

	public void setSysInfoId(String sysInfoId) {
		this.sysInfoId = sysInfoId;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Integer getDownloadCount() {
		return downloadCount;
	}

	public void setDownloadCount(Integer downloadCount) {
		this.downloadCount = downloadCount;
	}

	public Date getUpdDatetime() {
		return updDatetime;
	}

	public void setUpdDatetime(Date updDatetime) {
		this.updDatetime = updDatetime;
	}

	public String getUpdUser() {
		return updUser;
	}

	public void setUpdUser(String updUser) {
		this.updUser = updUser;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	
	
}
